//练习

public class This05 {

    int i = 10 ;

    public static void method1(){
        This05.dosome();
        dosome();

        This05 t = new This05();
        t.doother();

        System.out.println(t.i);


    }

    public void method2(){ //实例方法
        This05.dosome();
        dosome();

        doother();
        this.doother();

        System.out.println(this.i);
        System.out.println(i);

    }

    public static void main(String[] args){

        This05.method1();
        method1();

        This05 t = new This05();
        t.method2();

    }

    public static void dosome(){
        System.out.println("dosome");
    }

    public void doother(){   //实例方法
        System.out.println("doother");
    }
}
